package org.chen.common;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@TableName("t_report_ai")
@Data
public class ReportMessage extends Model<ReportMessage> implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("reportType")
    private String reportType;
    @TableField("reportDescription")
    private String reportDescription;
    @TableField("message")
    private String message;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
}
